home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 51 / Amiga Format CD51 (2000-03-10)(Future Publishing)(GB)[!][issue 2000-04].iso / -serious- / programming / other / gdbm-1.7.3 / smakefile < prev    next >
Makefile  |  2000-01-27  |  4KB  |  140 lines

  1. #
  2. # Makefile automatically generated by MKMK V6.55
  3. # Sun Dec 12 04:33:55 1999
  4. #
  5.  
  6. CFLAGS= IDIR "" DEF sync=rand DEF link=0*rand DEF flock=0*rand \
  7.         DEF _LIBC DEF __GNU_LIBRARY__ DEF __alloca=alloca OPT #PARM r
  8. OBJS= getopt.o alloca.o version.o \
  9.       update.o hash.o global.o findkey.o falloc.o gdbmsetopt.o gdbmexists.o \
  10.       bucket.o gdbmerrno.o gdbmsync.o gdbmseq.o gdbmreorg.o gdbmclose.o \
  11.       gdbmstore.o gdbmfetch.o gdbmdelete.o gdbmopen.o dbmrdonly.o dbmpagfno.o \
  12.       dbmdirfno.o dbmclose.o dbmseq.o dbmstore.o dbmfetch.o dbmdelete.o \
  13.       dbmopen.o close.o seq.o store.o fetch.o delete.o dbminit.o
  14.  
  15. all: conv2gdbm testgdbm testndbm testdbm #samp1
  16.  
  17. conv2gdbm: conv2gdbm.o gdbm.lib
  18.     sc link $< gdbm.lib
  19.  
  20. testgdbm: testgdbm.o gdbm.lib
  21.     sc link $< gdbm.lib
  22.  
  23. testndbm: testndbm.o gdbm.lib
  24.     sc link $< gdbm.lib
  25.  
  26. testdbm: testdbm.o gdbm.lib
  27.     sc link $< gdbm.lib
  28.  
  29. samp1: samp1.o gdbm.lib
  30.     sc link $< gdbm.lib
  31.  
  32. gdbm.lib: $(OBJS)
  33.     oml -v $@ r $(OBJS)
  34.  
  35. getopt.o: getopt.c autoconf.h getopt.h
  36.  
  37. alloca.o: alloca.c autoconf.h
  38.  
  39. conv2gdbm.o: conv2gdbm.c autoconf.h gdbm.h getopt.h
  40.  
  41. testgdbm.o: testgdbm.c autoconf.h gdbmdefs.h gdbmerrno.h extern.h getopt.h \
  42.             systems.h gdbmconst.h proto.h
  43.  
  44. testndbm.o: testndbm.c autoconf.h ndbm.h
  45.  
  46. testdbm.o: testdbm.c autoconf.h
  47.  
  48. version.o: version.c autoconf.h
  49.  
  50. update.o: update.c autoconf.h gdbmdefs.h systems.h gdbmconst.h proto.h
  51.  
  52. hash.o: hash.c autoconf.h gdbmdefs.h systems.h gdbmconst.h proto.h
  53.  
  54. global.o: global.c autoconf.h gdbmdefs.h gdbmerrno.h systems.h gdbmconst.h \
  55.           proto.h
  56.  
  57. findkey.o: findkey.c autoconf.h gdbmdefs.h systems.h gdbmconst.h proto.h
  58.  
  59. falloc.o: falloc.c autoconf.h gdbmdefs.h systems.h gdbmconst.h proto.h
  60.  
  61. gdbmsetopt.o: gdbmsetopt.c autoconf.h gdbmdefs.h gdbmerrno.h systems.h \
  62.               gdbmconst.h proto.h
  63.  
  64. gdbmexists.o: gdbmexists.c autoconf.h gdbmdefs.h gdbmerrno.h systems.h \
  65.               gdbmconst.h proto.h
  66.  
  67. bucket.o: bucket.c autoconf.h gdbmdefs.h systems.h gdbmconst.h proto.h
  68.  
  69. gdbmerrno.o: gdbmerrno.c autoconf.h gdbmerrno.h
  70.  
  71. gdbmsync.o: gdbmsync.c autoconf.h gdbmdefs.h gdbmerrno.h systems.h \
  72.             gdbmconst.h proto.h
  73.  
  74. gdbmseq.o: gdbmseq.c autoconf.h gdbmdefs.h gdbmerrno.h systems.h gdbmconst.h \
  75.            proto.h
  76.  
  77. gdbmreorg.o: gdbmreorg.c autoconf.h gdbmdefs.h gdbmerrno.h extern.h systems.h \
  78.              gdbmconst.h proto.h
  79.  
  80. gdbmclose.o: gdbmclose.c autoconf.h gdbmdefs.h systems.h gdbmconst.h proto.h
  81.  
  82. gdbmstore.o: gdbmstore.c autoconf.h gdbmdefs.h gdbmerrno.h systems.h \
  83.              gdbmconst.h proto.h
  84.  
  85. gdbmfetch.o: gdbmfetch.c autoconf.h gdbmdefs.h gdbmerrno.h systems.h \
  86.              gdbmconst.h proto.h
  87.  
  88. gdbmdelete.o: gdbmdelete.c autoconf.h gdbmdefs.h gdbmerrno.h systems.h \
  89.               gdbmconst.h proto.h
  90.  
  91. gdbmopen.o: gdbmopen.c autoconf.h gdbmdefs.h gdbmerrno.h systems.h \
  92.             gdbmconst.h proto.h
  93.  
  94. dbmrdonly.o: dbmrdonly.c autoconf.h gdbmdefs.h systems.h gdbmconst.h proto.h
  95.  
  96. dbmpagfno.o: dbmpagfno.c autoconf.h gdbmdefs.h systems.h gdbmconst.h proto.h
  97.  
  98. dbmdirfno.o: dbmdirfno.c autoconf.h gdbmdefs.h systems.h gdbmconst.h proto.h
  99.  
  100. dbmclose.o: dbmclose.c autoconf.h gdbmdefs.h systems.h gdbmconst.h proto.h
  101.  
  102. dbmseq.o: dbmseq.c autoconf.h gdbmdefs.h extern.h systems.h gdbmconst.h \
  103.           proto.h
  104.  
  105. dbmstore.o: dbmstore.c autoconf.h gdbmdefs.h extern.h systems.h gdbmconst.h \
  106.             proto.h
  107.  
  108. dbmfetch.o: dbmfetch.c autoconf.h gdbmdefs.h extern.h systems.h gdbmconst.h \
  109.             proto.h
  110.  
  111. dbmdelete.o: dbmdelete.c autoconf.h gdbmdefs.h extern.h systems.h gdbmconst.h \
  112.              proto.h
  113.  
  114. dbmopen.o: dbmopen.c autoconf.h gdbmdefs.h gdbmerrno.h extern.h systems.h \
  115.            gdbmconst.h proto.h
  116.  
  117. close.o: close.c autoconf.h gdbmdefs.h extern.h systems.h gdbmconst.h proto.h
  118.  
  119. seq.o: seq.c autoconf.h gdbmdefs.h extern.h systems.h gdbmconst.h proto.h
  120.  
  121. store.o: store.c autoconf.h gdbmdefs.h extern.h systems.h gdbmconst.h proto.h
  122.  
  123. fetch.o: fetch.c autoconf.h gdbmdefs.h extern.h systems.h gdbmconst.h proto.h
  124.  
  125. delete.o: delete.c autoconf.h gdbmdefs.h extern.h systems.h gdbmconst.h \
  126.           proto.h
  127.  
  128. dbminit.o: dbminit.c autoconf.h gdbmdefs.h gdbmerrno.h extern.h systems.h \
  129.            gdbmconst.h proto.h
  130.  
  131. samp1.o: samp1.cc gdbm.h #iostream.h
  132.  
  133. gdbm.h:    gdbm.proto gdbmerrno.h gdbm.proto2
  134.     grep -q _ gdbmerrno.h >$@
  135.     type gdbm.proto(|2) >>$@
  136.  
  137.  
  138. clean:
  139.     delete \#?.(o|lnk) gdbm.lib gdbm.h
  140.